Create program1.java

created program1.java