The purpose of this game is for the bear to chase the jam! The bear should get points each time it touches the jam. HOWEVER, there is some poorly built code here that doesn't behave exactly as expected. Your task: Refactor the code to decrease duplication and make it work exactly as expected! Write comment describing each change that you make and why.