implemented `makeCacheMatrix` & `cacheSolve` funcs

according to the description in assignment readme