Add toString method for Piece class