Decimal to hexadecimal

Code to convert a decimal number to hexadecimal