Create end_state.cpp