Added a template for string cross product