Clone a very good notes CS6210
Merge branch 'master' of https://github.com/tuongngoc/Master
clean up and write redo_log to function