Basic Collision detection implemented.