Program assignment 2 work in cachematrix.R and the supplied example as
makeVector.R