go maze, find the shortest path