Bfs Find All Paths Java