Recursion examples in C