Changed deque to queue
Added *nix version #5
Cosmetic