Working on double elimination bracket

Looks like I have a some kind of progress, but bracket is not
calculated correctly