Ex7 final version.

After doing the exercise, I am more familiar with tornado. Amazing
framework.