improved StackArray.java
improved StackArray.jva further