a file for utilities of graph in graphLib.hpp