question 2: bfs appears to be working now