finished first part of assignment one for operating systems