Update shortest_paths.hpp

bellman-ford only for directed