Python Dynamically Create Class In C