Display the maximum element in a list