rename $x variable to $n (it's for natural numbers only)
be more precise (parts 0 and 1 aren't about functional programming)
better explain recursion versus iteration