Adding more functions for the linked list and for removing processes