Create Main.java

creates window