heap_stack.c - (for exercise 1)