Another person's vector implementation.