This is the rest of the homework from Week 2.