Create BFS.java