Added implementations of makeCacheMatrix and cacheSolve