Python map function to find string with maximum number of ones