added decimal to binary conversion