Update Main.java

starting to comment stuff...
will add javadoc soon