finished get_mem_layout and added to .h file