A very inefficient code by a newbie to convert roman numerals to hindu-arabic numerals and vice versa(in c++)