chomp demo
finished exercise 5.6