Update Main.java

Formatted Main file