created addAll and removeAll methods
updated with additional methods