Defined in File BFS.hpp
Calls the given BFS handle with distance parameter
Calls the given BFS handle without distance parameter