adding createMain function
Merge branch 'master' of github.com:insta/generateCppFiles

Conflicts:
	main.py
corrected version