added a toString to ImmutableMemory.