First commit for cachematrix.R

Used cachemean template to generate cachematrix.R