Simple C program that simulates a FIFO queue