Created Python Version

Hi @gingerbeardman 
I used your code to write a Python version. Maybe you like to pull this one. 
Cheers
Fabian