Methods to work fine with multiple repetitions of elements
operator fun <T> T.times(times : Int) =
sequenceOf(this).repeat().take(times)
operator fun <T> Sequence<T>.times(times : Int) =
sequenceOf(this).repeat()
.take(times)
.flatMap { it }
// TODO pending "define" .repeat() method