Update Shell.java

Some mistakes.