solved b11 bfs_numpaths