Resolved octal to hexadecimal program