Added WeakSet class
Working on simulation