PieceCountVars function-factory done
Creates PieceCount calculators, parameters being white/black/all, and weighted/unweighted.
Added all six possibilities to driver