Fixed Recursive function

There was a random semicolon at the end of the if statement...
that fixed it....the logic was fine....