answer for A1..A6
Merge branch 'project3' of https://github.com/jiazhihao/pintos into project3