get all combination of n binary value,"bin = [0, 1]