PYTHON TUTORIAL: How to find the longest common prefix among a list of strings