Added code to implement makeCacheMatrix and cacheSolve functions