i have posted a tutorial on this link :http://www.go4expert.com/showthread.php?p=296#post296

hope it give u a basic idea abt the concepts of recursion...