added tail recursion notes