H-Mem: HarnessingsynapticplasticitywithHebbian MemoryNetworks