models a queue in a grocery line