Octopus Interview Question

Code challenge was must in python using tornado framework.