Create foreach_test.cpp