Added unit tests for creating graph and Dijkstra's alghorithm.