Implement sudoku solution in the main script

The given example is solved successfully.