added decimal to binary translation functionality