Graphutils

Hi,
the important changes are two new classes with the aim to serve as super classes for graphs.
Alwin