Updated BFS - no more segfault!  Mostly behaves as expected, will need to work on graph structure next.