Solution for Problem 10: HTML Stream