[java] How to find the minimum value in an ArrayList, along with the index number? (Java)