Updated final version of cachedmatrix for Programmingassignment 2
Updated final version of cachedmatrix for Programmingassignment 2