結果 : max heap python implementation