Pass Variables Between Functions Python Code