configurable card deck in python