basic requirement for funkonacci is done using recursion