Add a conversion script to convert the code to python 2 compatible code.

setup.py still needs to be editted to incorporate this change