implemented all methods except for removeVertex()

EVERYTHING IS BUGGED