Complete the definition of CreateArrayHeap.

- Complete the definition of CreateArrayHeap(), which creates an
  empty heap from an array.
- Add some parent/child macros to help with later implementation.
- Add test case for CreateArrayHeap().