createGraph() from a file, printGraph() to print graph
 file.txt containing a sample graph