adding base pqueue with heap implementation and point