Finished implementation of typeclass Graph.
Reformatting.
Reformatting.