Update cachematrix.R

Added in code functionality for both methods (makeCacheMatrix and cacheSolve)
Added commenting for the whole function file as well as each function individually