Simplify producer-consumer to use Queue.Queue.
Closes #37.
Merge pull request #38 from rhattersley/queue

Simplify producer-consumer to use Queue.Queue.