Update StackCalculator.java

visit https://github.com/tenny1028/StackCalculator/wiki/Version-2-Info to see list of all changes.