Behavioral/Visitor/Java/: Created java visitor pattern example