Programming assignment 5 completed