So I basically have a max heap stored in an arraylist, for example:
[6, 5, 4, 3]
I am trying to print the elements of the arraylist to display ea