Solutions to the first couple of problems on pythonchallenge.com