Implemented memory_free. I still need to merge contiguous blocks