How To Link Multiple Functions In Python