If n is used, this function generates a list with sequence lengths given by the values in n. If n is missing, a matrix is
generated.
The purpose of this function is to generate a set of sequences of a
specific size. To simulate sequences on a phylogenetic tree, see
simSeq in phangorn (very efficient), and
the package phylosim (more for pedagogy).