Add Inorder functions. Extend stack architecture.