Create custom_graph.h

Collection of utility functions for working with graphs.