hey can u guys help me figuring out my code,I need to count consecutive alternating head and tail ex: 101010 ( 1 = head and 0 = tail ). i want to track the previous cointoss