created vertex and edge classes. modified weightedgraph class to work with these. Various commenting and datatype updates