!F A* algorithm implemented