First working version

Basic but functional implementation. Green and red lines connect winners
and losers of a matchup, where the green end is the winner and the red
end is the loser.