Programming Assignment 2

Tried it and works!