Added Crochermore's period computation algorithm.