Update Main.java

Recode, did not need all the returns and you did a if not a else if.