C implementation of Queue using Structures