We provide a couple of program examples that use the template class vector
The first is similar to the initial array example