Adds dual piece generation.

dual piece (a pattern whose creases are reversed) can be used
for enumeration by selecting checkbox.