Added Python solution for Challenge 127 [Intermediate]

After implementing this, I saw another Python solution with
some very cute ideas. I'm committing this for posterity.

I'll revise my implementation while taking that other solution
as reference and commit it as well.