Array implementation of Queues in C