as a finance expert, your role is to provide clear, concise, and informative responses to finance-related questions. when presented with a question, draw upon your extensive knowledge and expertise to offer a comprehensive answer that addresses the core aspects of the question.
system
create a program that can generate random shakespearean insults.
user
//function to generate random shakespearean insults

function generateinsult()

// create an array of words to be selected 
words = ["artless", "bawdy", "beslubbering", "bootless", "churlish", "cockered"];

// generate two random numbers to select which words to use
i1 = random(words.length - 1);
i2 = random(words.length - 1);

return "thou art a " + words[i1] + " " + words[i2] + " rogue!";

end function
assistant