Moved about some of the code to easier check if the hand is a winning hand. It also makes it easier to test