We start off with the hand represented as a string such as "2H 3H 4H 5H 6H". This is pretty useless so we need to parse it into a data structure we can reason about. Something like
class PokerHand {
  
  PokerHand(String cards) {  
  }
  
 Iterable getCards() {