Handle II.
Handle 'V'.
Handle 'VI'.
Handle 'X' and 'XI'.
Handle 'XX'.
Handle 'IV'.
Handle 'IX'.
All cases can be expressed as while loops.
Factor out while loops and use an iterator.