added int2bin and bin2int convertion algorithm