maze backtracking problem, very good