implementation of memory management using suitable data structure