add a python script for producer and consumer with shared memory