R function from stub to expand

The file cachematrix.R has been worked on