Complete solution for makeCacheMatrix & cacheSolve