implement a function to detect clone sets from given elements
create a thread class to detect clones
create a class to monitor threads of clone detector
create a class to detect clones with a single thread