Two modifications by Jilin. Please pull it.

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