Implement ch1.3.2's examples
Answer ex1.34