How To Define A Main Function In Python