how to convert roman number to integer in c