Python for finding Euler's Totient function