correct a bug for movement 1<row<self.get_height()-1
solve_puzzle
naive case for solve_puzzle