Added function code and comments to cachematrix.R file
Merge https://github.com/soalla/ProgrammingAssignment2