Sample implementation structure of Template Method DP.