Said Yakhyoev's updated cacheMatrix r file

my code for calculating cache matrix