Removed main from mem_dealloc. Wrote set_data_int.