Decimal To Hexadecimal Python Function