Create Queue

this is an example of implementing queue in c