First (test) version of CacheMatrix function