I have a problem that i can\'t explain, I\'m making a program to find the "longest common prefix" and I got an error :IndexError: string index out of range.