Fixed the Ship class so it actually works