Ruby script to solve Sudoku puzzles