Submitting cachematrix.R solution

Updated cachematrix.R functions and added comments