An implementation of Dijkstra algorithm in Objective C