Programmaing Assignment 2 completed