Completed the matrix inverse cache code for the Programming assignment 2 in R Programming course