Implemented compPlayHand function