feat(correctExample): add a sample application identical to the example, but that uses best practices

The `example` application looks superficially correct but does not adhere to
best practices. It therefore generates many hints. This correctExample
uses appropriate best practices to generate the same functionality.
It should not produce any hints.