1. Implemented the java part of  visitor pattern exercise
2. utilized junit for unit testing