- somewhat working BFS. Need to make sure this is correct