Added some minor comments in Main.java