changed explore::iterator_range to boost::iterator_range for print, since the explore wrapper is not needed there.