Python solutions to TopCoder problems