move add_file from syscall into thread
Merge branch 'project2' of https://github.com/jiazhihao/pintos into project2