Week 1 programming assignment