Simple solver for sudoku puzzles