Added another python solution.

Enjoy.