Add example of basic recursive and tail recursive functions