Find a path between two points in a maze by using A* arithmetic.