chapter 10 -- courdinate rotation and bouncing off angles