Added out of memory errors to deque, removed some comments from queue.c which should have been in queue.h