Create Problem21.java

Amicable numbers are numbers such that if d(n) is the sum of all factors of n, n = d(d(n)) such that n and d(d(n)) are an amicable pair. Find the sum of all amicable numbers under 10000.