HappyNumber Generator In Java