Working with inefficient stack based implementation! (no printing)