space
This program generates random 1s and 2s in the "randomness?" list. If you press space, it would check for any 2, 3, 4, 5, 10, and 100 char patterns. The other lists are for listing all patterns in the random list once, while the vars are for counting how many patterns show up more than once.