Heapify Animation in Processing Js