started doing bfs, graph created correctly now