Python solution 6
Merge pull request #47 from jhgg/master

Python solution 6