Updates: Put an instance of vertices class into the triangle class.