Modified cachematrix.R to implement the makeCacheMatrix and cacheSolve functions.