Created a MainClass.java

It is a hello world program