public boolean equals(Object obj) {
		// standard equals() technique 1
		if (obj == this) return true;
		
		// standard equals() technique 2
		// (null will be false)
		if (!(obj instanceof Piece)) return false;
		Piece other = (Piece)obj;
		if (other.getBody().length != body.length) return false;
		for (int i=0;i<body.length;i++){
			boolean equal = false;
			for (int j=0;j<body.length;j++) {
				if (body[i].equals(other.getBody()[j])) {
					equal = true;
					break;
				}
			}
			if (!equal) return false;
		}
		return true;
	}