add happy number c++ code