Intro to internet applications com-340-dl01 programming exercise 7