Completed assignment to implement makeCacheMatrix and cacheSolve