implement hammDist, hammDistToPopulation
use default copy constructor for Solution class