hw03 problem04 solved