A simple implementation of a vector.