code of project1 in the course of OS