added Python 3 module with imports, strings, and other utility functions