added new class ChessPiece, defined in header file