Implemented loading and drowing of the graphs, finding the shortest path