Add Merge function for CPolynomilaHeap template