Python Language Defining functions with list arguments