initial checkin for max/min heap sort