Updating logger such that it prints zeros (which are falsey)
Adding an example of (slightly complicated) control flow with yields