Card and Hand class for a poker rank calculator