Fixed placement of ships for the add_ship API - and some random ship placement when the opponent is the computer.