Create BFS how many steps to get to a certain point.java