Added solutions to week 2 programming exercise