Heap: add heap_freeSpace(), a new function.