Got vectors working!

Everything appears to work now. I also added some functions for
retrieving data from the vector.