designpatterns: TemplateMethod in Java

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