Added copy constructors and fixed post increment issue with the iterator.