print max number's index in array RANDOMLY