I tried to create an adjacency matrix. It has add function which takes two vertices as input and their weight(distance).Everything worked fine i guess so. Now I want to create a function that will help me find the shortest path between two vertices.I tried dijkstra's algorithm. It seems my skill not good enough to create this function.