added get and set functions to makeCacheMatrix