Create JStack.java

The methods has been implemented in this class