Generate poly(A) tail
This function generates poly(A) tails for mature mRNAs. Given a specified length and a vector of frequencies with which each of the bases occurs in natural poly(A) tails, the function returns a possible poly(A) tail of the specified length.