Original commit of new hypercube class