Python: Passing a function name as an argument in a function,var = dork1