Create Shell.java

Added solution for shell.