Delete display function from layout algorithm class.
Use max function to find highest priority page.