1255 Substring Frecuency from lightoh, using z algorithm