public int getAmicableSum(int limit){
		HashSet<Integer> set=new HashSet<Integer>();
		for(int number=1;number<limit;number++){
			if(set.contains(number))
				continue;
			Unit unit1=getDivisors(number);
			if(unit1.sum<limit&&unit1.sum!=number){
				Unit unit2=getDivisors(unit1.sum);
				if(unit2.sum==number){
					set.add(number);
					set.add(unit1.sum);
				}
			}
		}
		
		int sum=0;
		for(Integer num:set){
			sum+=num;
		}
		return sum;
	}