implementing basic sudoku solver online