Add BreadthFirstPaths class