How it works...

Let's now take a closer look at what happens in each function in detail.