Added longest common substring solver