helloWorldMementoOriginator.restoreFromMemento(memento);
System.out.println(helloWorldMementoOriginator.helloWorld());
System.out.println("19. Observer: ");
Subject subject = new Subject().attach(new HelloWorldObserver());
subject.notifyObservers();
System.out.println("20. State: ");
HelloWorldStateContext helloWorldStateContext = new HelloWorldStateContext();
HelloWorld stateHelloWorld = helloWorldStateContext.appendWord("Hello").appendWord("State");
System.out.println(stateHelloWorld.helloWorld());