Update Main.java

Fixed Main