Add Euler's totient function in Scala