public Boolean doubleRotation(privAVLNode r,int dir)
		{
			//Check valid inputs
			if(!(dir == 1 || dir == 0))
				return false;
			if(r == null)
				return false;
			privAVLNode save1 = r.getChild(dir);
			if(save1 == null)
				return false;
			privAVLNode save2 = save1.getChild((dir+1)%2);
			if(save2 == null)
				return false;

			if(save2.getChild(dir) != null)
				save2.getChild(dir).setParent(save1);
			else
				save1.removeChild((dir+1)%2);
			
			save2.setParent(r);
			save1.setParent(save2);

			Boolean temp = singleRotation(r,dir);
			save1.setHeight();
			return temp;
		}