Interesting BFS problem
Eeeeesay