change remove, removeAll, contains methods and Iterator class