Roche Interview Question

Code to convert Roman numerals to numbers