Click the green flag. The program picks 1 or 2, 1 is heads and 2 is tails. It tracks the pattern, and tracks how many heads or tails in a row. It also displays the highest streak in the "MostInRow" variable. Longest Streak shows the biggest streak on this project in the world!
1/22/14 Updated for faster performance.