Defining Functions With Optional Parameters Python