Python code for converting an integer to roman numeral