Update Shell.java

around 60% complete (it can't handle stdin yet) 
please take a look :)
Merge pull request #1 from andriantolie/patch-1

Update Shell.java