to convert a decimal to binary