Multithreading With Queues Python