Update src/com/devcellar/puzzle/Graph.java

Added condition to only continue BFS along a certain path if that vertex allows following