removed perl solution, was wrong and I don't care to enough to fix it.
Fixed identity issue.

This code didn't know if it was python2 or python3... fixed.