Add *.out ot .gitignore
Add tail recursion version