Added Python 3.x Support

2.x.py is a version of the script that is compatible with Python 2.x.
3.x.py is a version of the script that is compatible with Python 3.x.
portable.py is a version of the script that is compatible with Python
2.x and 3.x.