Sudoku Solver using Ruby