Mazr Uses the A* algorithm to find the shortest path from the startNode through the beacon to the end Node.