Adding example priority queue using array based max heap