added utility to dump memory image in human readable format
fixed instance of hard-coded memory size