added queue.h and modified queue.c