modified cachematrix.R which now has working functions CacheMatrix and CacheInverse