Implement concatenation and repetition of Trits.