Minor changes.
Implemented shortest path algorithm using a bfs approach.