Python C Shared Memory Example