New 3D graph class.

Closes 71
Graph distance sequence contains each element twice.