Single function which add a ship to the board and sets the ships array. the ships array is an array of pointers to structs ship_t. Each ship_t holds two pointers, one is the start of the ship the other one is the end of the ship.