Find Index Of Maximum Element In Array In Java