Added string template for code generation but can only do simples arithmetic now