My solution of Pintos project 1 i.e. Threads