Added logic for makeCahceMatrix and cacheSolve functions