@Override
	public boolean equals(Object obj) {
		if (obj instanceof Teaches) {
			Teaches t = (Teaches)obj;
			return t.teacher == this.teacher && t.classTaught == this.classTaught;
		}
		return false;
	}