Update Main.java

From GitHub