recursion and loop version with benchmarking

Hi folks,
I've added recursion and loop version with benchmarking using ranges.
It will be interesting compare it against arrays allocation each time...