private void simplify() {
		int divisor = 1;
		for(int i = 1; i<=min(numerator,denominator); i++)
			if(numerator % i == 0 & denominator % i == 0)
				divisor = i;
		numerator /= divisor;
		denominator /= divisor;
	}