Adding Py Euler 15
Fixing some memory management issues and making other minor changes