7th homework of the CSE344 class