Added a new version with an experimental alternative sequence searcher.
This code gives each cell in an active column a score based on how closely
it's own sequence matches the input pattern. If a pattern falls out of
sequence and another pattern matches the current input with a large enough
score (the larger the score means the alternative pattern started longer
ago) then this pattern will be chosen as the learning and active pattern.
eg If pattern ABBCBBADDEDD is currently active and the next input is an F then
 instead of the F column bursting previous patterns are searched. If the
pattern DDEDDF was also previously learnt then the F columns would burst and
the cell from the F columns matching the DDEDDF pattern would be set as active and learning.
added a bouncing ball test. The temporal pooler works fine as long as the
ball is large enough to activate enough cells. Just change the configuration
parameter activationThreshold