Fixed bug in hasFullHouse function.