Resolved hexadecimal to decimal program