Change romanNumerals[i] to romanNumerals.charAt(i)