Create main.java

First version