Exercise 17: Heap And Stack Memory Allocation