happy-numbers - function to return a bool instead of int