finsihed rounding out the smaller details for the graph class interface