listMax function returns the largest number in list.