add new and delete in list.cpp, add exerises 3.47, 3.51.