Lesson 09 Add eat ball function