finish all problems(problem10 has added some print sentence for
debugging, they need to be deleted)
last comment is not the newest version, so add this one.
finish assignment4