Update Main.java

Fixed formatting issues.