I will put the discussion of the run method on temporary hold at this point.
I will explain the method named cropAndFlip, which begins in Listing 4.