Functional value example. Improving.

t9 pack sequential duplicates (tail recursion + accumulation -implementation)