porteddijkstra search class
fixed some merge issues.
added the last method to dijkstra (tnx trev)