add queue producer and consumer in python