Given a paragraph, ruby code for finding the 'x' number of strings with the longest common sub string.