visualisation of heap sort