Implemented [g,l,p]mem commands to examine memory.