Converted Vertex struct from Main.cpp to Vertex class, complete