Creating Python Code With Multiple Functions In C