changed class name of cc.HashSet to cc.Dictionary
methods adapted to cc.Set