Add concatenate function
Rewrite concatenate using only reqursion without ++ operator