Sample java code to illustrate the Gof Patterns