get all combination of 3 binary values,"bin = [0, 1]