Update Main.java

minor changes