add placeShips function