Commenting on main.java

Added some comments to the main