HalfEdge

implemented half edge structure