Programming assignment 7 completed