Added more functionality to placeAllShips