Abstract table to extend whatever way
Recursion implemented for functional programming for replacement of loop