Implementation of algorithms that compute Longuest Common Substring