`newSeqWith` is usually used for creating 2D sequences, where you pass to it a function for creating inner sequences.
Here it seems to me that you wanted to initialize a sequence of string of initial length of 1400. If so, use `newSeq[string](1400)`. (Later on, `texts.add(s)` should be replaced)
