Update Main.java

Add usage example