Brute force implementation of the Clique problem.