fixed my answers to the stack and the heap.