Piece class and PieceTests implemented