Now rewards beginnings of patterns

Also punishes repeated beginnings. Still gets stuck.
TOTRY: Maybe add weights for each individual beginning?
Tweak reward for beginning?
Make beginning strings shorter?