Work from my CS211 class.