finished exercise 2, all tests pass; updated .gitignore