Added gitignore and completed HW5 Q1 a)