Completed day 3 of Prolog, Sudoku puzzle