Added javadoc on top of class declaration for MaxHeap and MinHeap classes.