Building a subway map and finding the shortest path betweeen 2 stations