#include <iostream>
#include <string>
#include "MySet.h"
using namespace std;

int main()
{ 
  // Create a MySet
  MySet<string> set;
  set.add("Smith");
  set.add("Anderson");
  set.add("Lewis");
  set.add("Cook");
  set.add("Smith");

  cout << "Keys in set: " << set.toString() << endl;
  cout << "Number of keys in set: " << set.getSize() << endl;
  cout << "Is Smith in set? " << set.contains("Smith") << endl;

  set.remove("Smith");
  cout << "Names in set are ";
  for (string s: set.getKeys())
    cout << s << " ";

  set.clear();
  cout << "\nKeys in set: " << set.toString() << endl;

  return 0;
}