added reflect_ball function (WIP)
modified the order of if statement in Bar.draw function