Completed the sudoku solver