Xinu PA2, implementing Process Syncronization