Genetic Algorithms in Elixir: Possible typo in repair_helper function (page 104)

@seanmor5
In the repair_helper function on page 104 the following line:

if MapSet.size(chromosome) >= k do

should be:

if MapSet.size(chromosome.genes) >= k do

as previously the Chromosome Type was defined as a struct and MapSet.size/1 expects a Enum?