added find utility method
finished coding Dijkstra's algorithm for shortest path traversal