Create Stack.java

Implementation of some principle stack functions