added categoryBits and maskBits to obstacles, boundary and ball to prevent unnessecary collisions