Started with the A* algorithm