update mastermind

selections instead of cartesian-product