Worked further on the creating of the structure

implemented an addedge method and a getconnection between 2 vertices
method. Works semi good. Have to think about the 3d stuff. Planes are
one thing, 3d is another.