practice code for python tornado web framework