Minor changes

Created print method go() and used main function to create an instance
of the new class HelloWorld and called the function go()