find 3rd largest number in array java