created copy constructors and insertion operators for Dict and BasicDict