Added file main.java
Added main method in main.java