Linked Queue implemented in c