Added random generation of ships.