java function that returns the index of the largest value in an array
By Courtney Blanda at Dec 26 2019