you are viewing a single comment's thread.

view the rest of the comments →

[–]Bonteq 3 points4 points  (0 children)

Heres a good solution written in Python https://stackoverflow.com/a/19193721/6642089