Added isStraight method