Project Euler problem: Sudoku