#include <iostream>
#include"indexx.hpp"


main()
{
  indexx<int,float,20> x;
  float a,b,c,d,z;
  a = 1.1;
  b = 2.2;
  c = 3.3;
  d = 4.4;
  x.insert(1,&a);
  x.insert(2,&b);
  x.insert(3,&c);
  x.insert(4,&d);
  z = *(x.lookup(2));
  cout << z << endl;
  x.remove(2);
  float * q = x.lookup(2);
  if (q)
    cout << "There" << endl;
  else
    cout << "Not there" << endl;
}

