Python app to rank a group of teams based on head to head matchups.