Also posted here: https://www.dreamincode.net/forums/topic/415031-sudoko-grid-conversion-from-99-to-all-grid-size/
and here: https://coderanch.com/t/706644/java/Sudoko-grid-conversion-grid-size