Added function to delete node in queue.c