Returns the middle element, or the earlier of the two middle elements for even sizes.
when the list is empty.