check collide for ship and generate random position for ship when collided