Session 5 Homework 

Session 5 homework. It looks like this will supersede a pull request for Session 4 homework as well.

check out dict.setdefault() for this..