Update chapter1 and add .tdo to gitignore.