Homework4 done, it's a first version.