Implement ch2.3.3's examples
Answer ex2.66