experimentation for longest borderless subwords and naive testing for this algorithm