Find shortest distance between 2 points
Implemented by Dijkstra's algorithm