Init: implement a stack
Added stack concatenation function