Finding Kaprekar numbers - a Ruby kata