added Bram's BinToDec.java