Simple implementation of Queue done