Simple Python Master-Worker program