Code works correctly for conversion of integer to roman