First steps on dp 190
Now it might be correctly counting number of subwords that start from the first letter, but need to print them out.
Now printing out sub words, next move on to looking for interior subwords.
Now printing out sub words, next move on to looking for interior subwords.
Solution is ethylenediaminetetraacetates with 38 sub words (currently counting same word towards total).  Could be more efficient with finding of subwords- if a certain word has already been searched, then don't need to find sub words within it (but need to do a bunch of accounting for overlapping words).  Could do some tricks with sorting the words into order by size to overcome problems there, but for now this runs reasonably fast.