made type definition of vector opaque
added function for getting the array of the vector in file, vector.c
changed test files to reflect opaque type of vector