An implementation of the vector data structure.