<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def repeat(self, count):
 """ repeat sequence given number of times to produce a new sequence """

        x = HSeq()
        for i in range(count):
            x = x.concatenate(self)
        return x