updated poker.py