Added friction in the y direction
with collision

Bouncing ball using OOP now with collsion