Programming exercise 2

This is the programming assignment for week 3