**This function is used to calculate sum of first n natural nos .When I replace --limit with (limit -1) , I am getting correct answer For Eg - on passing 5 I get sum as 10