hw for 8. interactive programs