Table iteration function added - next(t,k)
Prepared code for garbage collection implementation