refuctor ex9_31_32_34.cpp and added 9.33

1. 9.31 have an other case: forward_list
2. 9.32 it's not always illegal.
3. 9.34 infinite loop added fixed solution.
improved formatting for 9.38, added 9.35 to 9.40