Create StackInterface.java

The interface contains the methods used for implementing stack