Created read hypergraphs tests
Implemented write directed and undirected graphs to file
added tests for both methods.
readDirectedHypergraph/writeDirectedHypergraph functions are renamed to be simply read/write