A simple Java application to demonstrate the Visitor pattern