prog assignment 6