Finished the MyVertex class