Added function declaration for testLooping in main.cpp file