Implementation of Clique Detection Algorithm using Python