fix problem3-16 solution (OK)
Add problem3-17 solution