report and code for assignment #7