A* with the Objective-c