Functions from Programming Assignment 2

cacheMean and makeVector