Added cacheVector and cachemean functions from the assignment notes
followed template of makeVector and cacheVector
edited name of cachemean to cacheMean for camelcase