Create ThreeStack.java