added vertex interface
added vertex implementation
added javaDoc