A* (a star) algorithm implementation for Objective-C