designpatterns: Visitor in Java

Signed-off-by: Rohit Yadav <bhaisaab@baagi.org>