Pedigree analysis for Shafer's Moonlight Bandit

Use
generations for calculation