Made Recursor.java tail-recursive

Added comments to recurse.erl.