experimentation for longest borderless subwords for alphabets sizes 2, 3, 4