Implemented the 4 parts of programming assingment 1.
Implemented the 4 parts of programming assingment 1.