Code answers for http://www.pythonchallenge.com/