Added conversion constructor to convert iterator to const_iterator.