Added queue.c/queue.h, which is a blocking, thread-safe queue with a maximum
number of elements.