static int divide(int x, int y){
		//x/y by adding y to itself quotient times until reach x value
		int sum=0;
		int quotient=0;
		if(abs(x)<abs(y)) return divide(y, x);
		while(sum<=abs(x)){
			sum+=abs(y);
	        quotient++;
		} 
		if((x>0&&y<0)||(x<0&&y>0)){
		return negate(quotient-1);
		}
		else return (quotient-1);
	}