Agent.cpp added print final results