Update 48: Added query operations.

I wrote the functions for the graph querying operations and commented the graph library header and source.