Added iterator for segments and sections

segments and sections were already stored as std::vector<T>.
This change simply exposes the std::vector<T>::iterator functions.