implemented linked list of PCBs