Finding Majority Element In Python