implement 3.3.2
Merge branch 'project2' of https://github.com/jiazhihao/pintos into project2