Added code to functions makeCacheMatrix() and cacheSolve()