[python] Finding the mode of a list