fun square(x: Int) = x * x fun cube(x: Int) = x * x * x fun fib(i: Int): Int = if (i == 0 || i == 1) i else fib(i-1) + fib(i-2)