Added implementations of makeCacheMatrix and cacheSolve functions.