data generation modified

1. generation of new datasets favors sets whose mode's frequency is 3
rather than 2
2. generation of modified datasets also increases frequency of sets
whose mode's frequency is 3 rather than 2