collatz and enqueue dequeue done