Week 2 solutions