Update Main.java

add return statement