creating classes for player and pieces