add chapter6 program 4
add chapter6 exp code