queue related implementations
Merge pull request #4 from MattFlaig/mod4

queue related implementations