added .gitignore
ignored all classfiles.

merged updated code from lecturer
implemented string assignments