added place ship method and tested