def enl_seq(seq_of_seq, otherentries):
    """ Returns a sequence of sequences, with each element consisting of an
        element from otherentries appended to a sequence from seq_of_seq.

        Note: this is used for building chords.
    """
    ret = [];
    for i in seq_of_seq:
        for j in otherentries:
            ret.append(i + [j]);
    return ret;