My first pattern recognition algorithm
bithavior.com