Wrote Javadocs for TernaryHeap and UnderflowException