Fixes formatting for tornado example

This pull request updates the tornado example so that it displays correctly as a code block