Added Main.java file