implemented functions makeCacheMatrix and cacheSolve in cachematrix.R