Add polynomialHeap template

Implement Add function only