Implementation of the TextTiling algorithm for CS187