CacheMatrix1

first cache matrix try, works perfectly.