created a separate exploit class file for Python implementation