def generate_paragraph(m, n_sentences, max_words_per_sentence):
    """
    Generate a paragraph of n number of sentences.

    args:
    m - the Markov Chain object to use to generate text
    n_sentences - the number of "sentences" to generate
    max_words_per_sentence - the max number of words generated in one sentence
    """
    text = ""
    for i in range(n_sentences):
        sentence = m.generate_sentence(max_words_per_sentence)
        text = text + " " + sentence

    return text