doing roman numerals to integer exercise from chap 12