fixed deleting/printing issue. only thing left is Dictionary constructor and destructor.