added main method to HelloWorld class