Greatest Common Divisor of Strings