function countRows(){

return GRID.length

}

function countColumns(){

return GRID[0].length

}

function isShip(e){

return e===“v”

}

function allShips(){

let rows = countRows();

let columns = countColumns();

let box = “”;

const letters = “ABCDEFGHIJKLMNOP”;

let isShips = [];

for (let i = 0; i < rows; i++) {

for (let j = 1; j < columns; j++) {

box = GRID[i][j];

if (isShip(box)) {

isShips.push(letters[i]+j);

}

}

}

return isShips;

}

console.log(‘ships’, allShips())

what am i doing wrong now?