changed swap to a simpler way, before it could have a undetermined number of process, now it can have only 256, which is the minimum required in the specification of the assignment.