Two modifications by Jilin
1. change notebook.txt back to notebook.log
2. rewrite the notebook.log in the problem set instead of creating a new text file