created hero.cpp