A note explaining the code blocks