@Override
	public boolean equals(Object m) {
		if (m == this) {
			return true;
		}
		if (m == null || m.getClass() != this.getClass()) {
			return false;
		}

		Position p = (Position) m;

		if (p.file == this.file &&
			p.rank == this.rank) {
			return true;
		}
		return false;
	}