Session 5 Homework 

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

this is where you could put a:

if not line:
    break

a touch cleaner than putting the real work of the loop all in the if clause.