implemented function bin2dec