CodeEval: Hex to Decimal