Problem 095: Amicable chains.

Note: running time is very long. Though correct result is output after
17 seconds, checking all possibilities takes many minutes. Should be
optimized, in particular, keeping track of visited chains.