program to demonstrate recursion