Understanding Python Sets with A Heads and Tails Game