Added the .gitignore.
Finished the script for the 5.4 question of TD1.