A little-bit refactored very old implementation of sudoku