In this chapter I used the following libraries.
# for random names/numbers generation
import Random as Rnd
Still, once you read the problem description you may decide to do otherwise.
I recommend you try to solve the task on your own first. Once you finish you may compare your own solution with the one in this chapter (with explanations) or with the code snippets (without explanations).