introduced class for building a skip graph
slight restructuring
untested: building a reduced graph