base convertor, 10 to k, k to 10
positive decimal to binary representation