Removed BOOST_FOREACH

In favour of C++11s range based for