Added Ship class for collision detection