Added answers to week 2 programming assignment