Code walkthrough of the first Lambda function