added collision code for ball, something is not working