Hex to Decimal works, binary broken. fix redunancies