small changes in reading graph from file
writing graph to file implemented
javadoc added
adding appropriate separator char (depending on the system)