My solution to all the problems posted on http://www.pythonchallenge.com/