Basic Programs Using Recursive Functions