cross the maze problem solved