losses_count to store the number of losses for each player.[winner, loser] in matches.
a. Increment the loss count for loser in losses_count.
b. If winner is not in losses_count, add winner with a loss count of 0.no_loss and one_loss to store players with zero and one loss respectively.losses_count.
a. If a player has zero losses, add them to no_loss.
b. If a player has exactly one loss, add them to one_loss.no_loss and one_loss after sorting them in increasing order.