first working version that will log the solution for a sudoku problem