Is this already here?
Merge remote-tracking branch 'origin/master'
Added some commends and a docstring (tentative) and cleared it with Pep8