Added collision detection for ships (needs generalizing)