Added some source code to assignment 3.

Note: Not a complete solution, but can be used as some kind of
guidance.
Gitignore updated.
Started working on slides for problem set 4.