Answer:
I think your problem didn't copy correctly because you didn't provide a function. if you could provide it to me I would be glad to help and give you the answer.
I also do exams and quizzes if your interested
8.8m questions
11.4m answers