Ex 10.2 solved via using an array.

When adding a payoff to the factory, need to add a constructor that takes in an array of doubles for each type.