Update schedule.c

removed the array and added a circularly doubly linked list. I am going to work on not having an array for the args.