set up basic structure for list traversal and conditions in mem_free, not properly detecting conditions for coalescing