Introduce some C++11 features
auto type and for-each loop