program works for example subset3 programs, dealt with sys calls in a basic way