Added code from http://greenteapress.com/thinkpython/code/PokerHand.py and http://greenteapress.com/thinkpython/code/Card.py.