added spec and code for three of a kind