function readQueue input Element vecIn[:]; input Integer tailIn; input Integer headIn; output Element e; end readQueue;