A gentle introduction to C and recursion (in C)