BFS

solved bugs and added pathTo(v); which gives shortest path between
source and vertex (using BFS)