Update Main.java

Allow for multiple arguments