program for binary to decimal conversion