encapsulated bannedfrom table
Created disjoint set datastructure