Create amkuds cachMatrix.R script

Very well-documented cacheMatrix script by Amey Kudtarkar.