Code that converts decimal values to hexidecimal