Implement Vector. Write javadoc to all classes.