Tail recursion

shape