Revert "finish chapter6"

Reverts chukong/programmers-guide-samples#8