This is the Processing sketch we made in class the other day. The ball should bounce off the east wall, but instead it gets stuck and jitters around for a while. See if you can debug it.
(1) Find the bug
(2) Characterize the bug
(3) Fix the bug
(4) Verify you fixed it
You don't need to post any code. This is just practice.