Working on stack.java

Working on stack.java