Checks first number for triples. If second number contains a double of at least one of the triples from the first number, return 1, else return 0.