Create StackExample.java

Stack on Java language