Solved the longest common substring problem.
Had to remove a bug in the fasta parser that left newlines.
Also found that execution is easy to speed up if one uses
pmap rather than map in expensive but seperate mapping calls.