Adding Greeter class
Added main program body to use greeter class.