secondhigestnumberfromgivenarray