Added totient function.