created function to evaluate a single hand and return the hand strength