adding shadow_mem.h,.cpp and README.md