Added main method in class Greeter