added code to makeCacheMatrix and cacheSolve templates