changed queue.c, queue.h, and cpu_main.c to fix the bug with the queue.