Permutations of a coin flip

Imagine I am flipping a coin.
Pretend 0 is heads and 1 is tails and I flip 3 times.

I am trying to get all possible combos.

It’s giving me heads, tails, tails…
but not 1 , 0 , 1 (heads, tails, heads) for example.

I also tried this:

Well that was ridiculously simple :rofl: