exit if cannot allocate memory for file_table
Merge branch 'project2' of https://github.com/jiazhihao/pintos into project2