Simplify producer-consumer to use Queue.Queue.
Closes #37.