Update Stack.java

manually update file from github