Implemented some of the vector functions; commented out the rest of the functions for now because they need some of the basic functions (e.g., Vector.iter) to be implemented first.