re-write pong() and eat()
add new function pong_or_eat()