python modules for modelling trick-taking card games