Implemented swapping to allow up to four processes to execute concurrently.
Made various formatting changes and bug fixes.