P1.cpp added (rabbit)