Adding loop and system("cls") to main.cpp