created the cache-matrix functions in cachematrix.R and added documentation