Created abstract class Piece.