Move gitignore file up

.gitignore should have been in the class directory, not the project
directory.  Oh well. :)
Initial commit for Assignment #2

Also updated .gitignore to match all QTCreator-built projects.
Assignment #2 files updated for Qt 5