Python Map Function With Two Parameters