Added heaps and graphs