Got internal display working

internal display of finding max element