Python implementation of cribbage.