Recreation of Inheritance exercise from course