Fix bug in buildDivisors that led to incorrect testing of potential proper divisors.
Add solution to problem 22.
Add solution to problem 23.