an implementation of poker in python