added basic ball collision detection