Update Main.java

Added smiley support