public void simplify() {
		int factorNum = Math.abs(this.numerator);
		int factorDenom = this.denominator;
		while(factorNum != 0) {
			int temp;
			temp = factorNum;
			factorNum = factorDenom % factorNum;
			factorDenom = temp;
		}
		this.numerator /= factorDenom;
		this.denominator /= factorDenom;
		if(this.numerator < 0 && this.denominator < 0) {
			this.numerator *= -1;
			this.denominator *= -1;
		}
		if(this.denominator < 0 && this.numerator > 0) {
			this.numerator *= -1;
			this.denominator = Math.abs(this.denominator);
		}
	}