Added (broken) 3-clique code - need to debug