adding vector type and methods to declare, free, and print