added collision between ball and paddle