Add maximum iterations to avoid infinite loop.
During the check for maximum individuals on pareto front it is possible to end up in an infinite loop.
This happens when (almost) every time when a random individual is created it ends up on the pareto front.
To counter this, the algorithm will give up after it has tried to create an amount of random individuals equal to the population size.