Python List Common Elements Leetcode Problem 125