solutions for assignment seven 4598484