How is it possible to implement k stacks using only three stacks? and obviously how to implement stack functions. please provide pseudo code. thanks in advance.