Very simple binary/octal/decimal/hexadecimal converter