Longest Common Substring (more than 2 arguments)