system calls added. still unsure how to
implement scheduler and pstat