added toString to vertex as well, so now you can print out all the vertices in a hash table