Passing List To A Function In Python