removed unnecessary print statements, finalized logic for moving around processes in linked list