Sorry, should have explained about that. Start with the "solution for 13 players" which has the full schedule - note that player zero has the bye in round 1 and that the rounds are generated from the first round by cycling through the numbers 0 to 12 and then back to 0. For 21 players all you are given is the first round, so you need add zero for the bye and then cycle through 0 to 20, generating a total of 21 rounds.