Exercise 2 in my Server Side Web Programming class.