i want to be able to increment the variable n by one with each recursion starting from zero for the first function call i cant put the n variable as a parameter of the trian