Added cachematrix.R with new code