Technical round with CTO, coding task (you handwrite code on an electronic whiteboard). Imagine you have a set of scripts. Each script can depend on another to be able to run. Write a function that will "run" each of the scripts (by logging their names into console) in correct order.