post on recursion in ruby