Converting deprecated :simple_one_for_one to DynamicSupervisor

Reading the book will help understand it. I recommend you have a look at the list of discounts the forum offers:

There might be other threads, I recommend you search for a few.