Thanks! The code is very helpful. For us it was our very first game, so it's very useful to see how other people do things.
Looking at yours, I can see that the real magic that we didn't get is actually in line 9, where I guess you create a vector with a direction that depends on the angle the ball hits the bumper. Good work there.
Here's ours, in case you are curious: https://github.com/juanfrcaliz/super_reversed_pinball