Solutions to common brainteasers. Mostly in Python.