License added.

From gist: https://gist.github.com/708961
Trying to determine the maximum call stack for a recursive function. Unsure if this is the proper method.