prog assignment 7