Adding Python

I have added a couple of Python examples to the mix and I slightly
improved Method 7.