Added notes on heaps.