added java docs & a few methods to MyGraph