added pieces generator class and selection evaluation for pieces