a simple application of the disjointed set ADT, made using java, There might still be some flaws.