I\'m using Python to find the largest substring of a given string
For instance if our string is \'ABCBCD\' the program should print 3
And if the output is \'ABC\'