this commit modifies the cachematrix.R file to include the solution
to the assigment along with associated comments