code: def initialize_memory(basic_block):
      
      global MEMORY
  
      MEMORY = basic_block.mem
      get_labels(MEMORY, basic_block)
      basic_block.mem = MEMORY
docs: Initializes global memory array with the given one