Updated a few public methods and added the keyExists().
Added an add method.
Added exception statements and part of the remove method.
Added the remove method.
Added a destructor.