made the makeCacheMatrix function and wrote notes